KERN_DIR = /opt/2440/linux-3.0.8

all:
	make -C $(KERN_DIR) M=`pwd` modules 
	arm-linux-gcc -o vcam vcam_test.c

clean:
	make -C $(KERN_DIR) M=`pwd` modules clean
	rm -rf modules.order
	rm -rf vcam



obj-m += gt2440_ov9650.o
obj-m += gt2440_camdev.o
obj-m += gt2440_cam.o
